<!doctype html>
<!--[if lt IE 7 ]> <html lang="ja" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="ja" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="ja" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="ja" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="ja" class="no-js"> <!--<![endif]-->
<head>
	<meta charset="UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

	<title>selectors</title>
	<meta name="description" content="" />
	<meta name="author" content="Y.Nishimura@Office L / nishimuray@gmail.com" />

	<meta name="viewport" content="width=device-width, initial-scale=1.0" />

	<link rel="shortcut icon" href="/favicon.ico" />
	<link rel="apple-touch-icon" href="/apple-touch-icon.png" />

	<link rel="stylesheet" href="css/style.css?v=1" />

	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
	<script type="text/javascript" src="js/modernizr.js"></script>
	<script>!window.jQuery && document.write('<script src="js/jquery-1.6.1.js"><\/script>')</script>
	<script type="text/javascript" src="js/script.js"></script>
</head>
<body>

<p>これは赤く</p>
<div id="ao">これは青く</div>
<div class="midori">これは緑</div>
<div>これはdivの中の<b>bold</b></div>
<div><span>これはspanの中の<b>bold</b></span></div>

<input type="button" value="これはボタン"/>
<input type="text" value="これはテキスト" />

<script type="text/javascript">
<!-- 
$(function() {

	$("*").css("margin-left","20px");
	$("p").css("background","#ff6666");
	$("#ao").css("color","blue");
	$(".midori").css({"color":"#009900","background-color":"#99ff99"}); // 複数指定可
	$("span b").css("color","#999999");
	$(":button").css("color","#9999ff");
	$(":text").css("color","#ff9999");
});
// -->
</script>

</body>
</html>
